import IJobPageForm from '@/model/form/job/IJobPageForm'
import IResVO from '@/model/vo/common/IResVO'
import IJobVO from '@/model/vo/job/IJobVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 查询岗位（树结构）
export default function jobTreeApi(form: IJobPageForm) {
  return $http.post<IResVO, AxiosResponse<IResVO<IJobVO[]>>>('/job/tree', form)
}
